package cmd

import (
	"github.com/sirupsen/logrus"
	"github.com/spf13/cobra"
	"os"
)

var (
	rootCmd = &cobra.Command{
		Use:   "Gitlab-Sync",
		Short: "Gitlab迁移工具",
	}
)

func Execute() {

	if err := rootCmd.Execute(); err != nil {
		logrus.Print("", err)
		os.Exit(1)
	}
}
